package com.example.prodecttest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description:
 * @author: fan
 * @date: 2022/2/18 10:43
 * @version: 1.0
 */
@Data
@TableName("equipment_type")
public class EquipmentType {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("设备类型名称")
    private String typeName;

    @ApiModelProperty("上级id")
    private Integer pid;


}
